home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / Framewrk / FWSemEvt / Include / SLSemInt.xih < prev   
Encoding:
Text File  |  1996-08-16  |  24.9 KB  |  687 lines  |  [TEXT/MPS ]

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: SLSemInt.xih.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emitxih.dll: 2.33
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *     File:                SLSemInt.idl
  13.  * 
  14.  *     Contains:            Interface for FW_OSemanticInterface class
  15.  *     Release Version:    $ ODF 1 $
  16.  * 
  17.  *     Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  18.  * 
  19.  */
  20.  
  21.  
  22. #ifndef SOM_FW_OSemanticInterface_xih
  23. #define SOM_FW_OSemanticInterface_xih
  24.  
  25. #include <somcls.xh>
  26. #include <somcm.xh>
  27.  
  28. /*
  29.  * Passthru lines: File: "C.xih", "before"
  30.  */
  31. #ifndef PRSIGLTY_H
  32. #include "PRSIGlTy.h"
  33. #endif
  34.  
  35. #ifndef SOM_FW_OSemanticInterface_xh
  36. #include <SLSemInt.xh>
  37. #endif
  38.  
  39. /*
  40.  * Set the scope of methods functions
  41.  */
  42. #ifndef SOM_Scope
  43. #define SOM_Scope extern "C"
  44. #endif
  45.  
  46. #define FW_OSemanticInterface_MaxNoMethods 1
  47.  
  48. /*
  49.  * -- Instance Data
  50.  */
  51.  
  52. /*
  53.  * -- Use best possible alignment for instance data slice.
  54.  */
  55. #if PRAGMA_ALIGN_SUPPORTED
  56. #  pragma options align=power
  57. #endif
  58. typedef struct FW_OSemanticInterfaceData {
  59.     FW_CSemanticInterface* fSemanticInterface;
  60.     FW_HSemIntGlueProcs fGlueProcs;
  61. } FW_OSemanticInterfaceData;
  62. #if PRAGMA_ALIGN_SUPPORTED
  63. #  pragma options align=reset
  64. #endif
  65.  
  66. /*
  67.  * -- Getdata Macro
  68.  */
  69.  
  70. /*
  71.  * -- This emitter treats Data Tokens as Thunks by default.
  72.  * -- Use the sc modifier "nothunks" to override this default.
  73.  */
  74. SOMEXTERN typedef FW_OSemanticInterfaceData* (* SOMLINK somTD_FW_OSemanticInterface_DataThunk)(void*);
  75. #define FW_OSemanticInterfaceGetData(somSelf) \
  76.    (((somTD_FW_OSemanticInterface_DataThunk)(FW_OSemanticInterfaceClassData.instanceDataToken))(somSelf))
  77.  
  78. /*
  79.  * -- Instance Data Access Macros for use in Method Procedures
  80.  */
  81. #ifdef VARIABLE_MACROS
  82.   #define _fSemanticInterface (somThis->fSemanticInterface)
  83.   #define _fGlueProcs (somThis->fGlueProcs)
  84. #endif
  85.  
  86.  
  87. /*
  88.  * Trace/Debug macro
  89.  */
  90. #ifndef FW_OSemanticInterfaceMethodDebug
  91. #define FW_OSemanticInterfaceMethodDebug(c,m) SOMMethodDebug(c,m)
  92. #endif
  93.  
  94. /*
  95.  * -- Method Macros for use in Method Procedures
  96.  */
  97. #ifdef METHOD_MACROS
  98.   #define _InitSemanticInterface somSelf->InitSemanticInterface
  99.   #define _CallEventHandler somSelf->CallEventHandler
  100.   #define _CallCoercionHandler somSelf->CallCoercionHandler
  101.   #define _CallPredispatchProc somSelf->CallPredispatchProc
  102.   #define _CallObjectAccessor somSelf->CallObjectAccessor
  103.   #define _CallCompareProc somSelf->CallCompareProc
  104.   #define _CallCountProc somSelf->CallCountProc
  105.   #define _CallDisposeTokenProc somSelf->CallDisposeTokenProc
  106.   #define _CallGetErrDescProc somSelf->CallGetErrDescProc
  107.   #define _CallGetMarkTokenProc somSelf->CallGetMarkTokenProc
  108.   #define _CallMarkProc somSelf->CallMarkProc
  109.   #define _CallAdjustMarksProc somSelf->CallAdjustMarksProc
  110.   #define _GetOSLSupportFlags somSelf->GetOSLSupportFlags
  111.   #define _SetOSLSupportFlags somSelf->SetOSLSupportFlags
  112.   #define _UsingPredispatchProc somSelf->UsingPredispatchProc
  113.   #define _BaseRemoved somSelf->BaseRemoved
  114.   #define _IsValid somSelf->IsValid
  115.   #define _CheckValid somSelf->CheckValid
  116.   #define _Release somSelf->Release
  117.   #define _InitExtension somSelf->InitExtension
  118.   #define _GetBase somSelf->GetBase
  119.   #define _BaseRemoved somSelf->BaseRemoved
  120.   #define _IsValid somSelf->IsValid
  121.   #define _CheckValid somSelf->CheckValid
  122.   #define _Release somSelf->Release
  123.   #define _InitRefCntObject somSelf->InitRefCntObject
  124.   #define _Acquire somSelf->Acquire
  125.   #define _Release somSelf->Release
  126.   #define _GetRefCount somSelf->GetRefCount
  127.   #define _somUninit somSelf->somUninit
  128.   #define _InitObject somSelf->InitObject
  129.   #define _HasExtension somSelf->HasExtension
  130.   #define _AcquireExtension somSelf->AcquireExtension
  131.   #define _ReleaseExtension somSelf->ReleaseExtension
  132.   #define _Purge somSelf->Purge
  133.   #define _IsEqualTo somSelf->IsEqualTo
  134.   #define _SubClassResponsibility somSelf->SubClassResponsibility
  135.   #define _somInit somSelf->somInit
  136.   #define _somUninit somSelf->somUninit
  137.   #define _somInit somSelf->somInit
  138.   #define _somUninit somSelf->somUninit
  139.   #define _somDuplicateReference somSelf->somDuplicateReference
  140.   #define _somCompareReference somSelf->somCompareReference
  141.   #define _somRelease somSelf->somRelease
  142.   #define _somFree somSelf->somFree
  143.   #define _somCanDelete somSelf->somCanDelete
  144.   #define _somGetClass somSelf->somGetClass
  145.   #define _somGetClassName somSelf->somGetClassName
  146.   #define _somGetSize somSelf->somGetSize
  147.   #define _somIsA somSelf->somIsA
  148.   #define _somRespondsTo somSelf->somRespondsTo
  149.   #define _somIsInstanceOf somSelf->somIsInstanceOf
  150.   #define _somDispatch somSelf->somDispatch
  151.   #define _somClassDispatch somSelf->somClassDispatch
  152.   #define _somCastObj somSelf->somCastObj
  153.   #define _somResetObj somSelf->somResetObj
  154.   #define _somPrintSelf somSelf->somPrintSelf
  155.   #define _somDumpSelf somSelf->somDumpSelf
  156.   #define _somDumpSelfInt somSelf->somDumpSelfInt
  157.   #define _InitODFSemanticInterface somSelf->InitODFSemanticInterface
  158.   #define _somUninit somSelf->somUninit
  159.   #define _Release somSelf->Release
  160.   #define _CallEventHandler somSelf->CallEventHandler
  161.   #define _CallCoercionHandler somSelf->CallCoercionHandler
  162.   #define _CallPredispatchProc somSelf->CallPredispatchProc
  163.   #define _CallObjectAccessor somSelf->CallObjectAccessor
  164.   #define _CallCompareProc somSelf->CallCompareProc
  165.   #define _CallCountProc somSelf->CallCountProc
  166.   #define _CallDisposeTokenProc somSelf->CallDisposeTokenProc
  167.   #define _CallGetErrDescProc somSelf->CallGetErrDescProc
  168.   #define _CallGetMarkTokenProc somSelf->CallGetMarkTokenProc
  169.   #define _CallMarkProc somSelf->CallMarkProc
  170.   #define _CallAdjustMarksProc somSelf->CallAdjustMarksProc
  171. #endif
  172.  
  173.  
  174. /*
  175.  * Introduced methods
  176.  */
  177.  
  178. /* New Method: InitODFSemanticInterface */
  179. SOM_Scope void  SOMLINK FW_OSemanticInterface__InitODFSemanticInterface(FW_OSemanticInterface *somSelf, Environment *ev,
  180.         ODPart* base,
  181.         ODSession* session,
  182.         FW_CSemanticInterface* semInt,
  183.         FW_HSemIntGlueProcs semIntGlue);
  184.  
  185. /*
  186.  * Overridden methods
  187.  */
  188.  
  189. /* Overridden method: somUninit */
  190. SOM_Scope void  SOMLINK FW_OSemanticInterface__somUninit(FW_OSemanticInterface *somSelf);
  191. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_somUninit)(FW_OSemanticInterface *somSelf);
  192. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_somUninit(FW_OSemanticInterface *somSelf)
  193. {
  194.   (void)         (somSelf);
  195. }
  196. #define FW_OSemanticInterface_parents_somUninit(arg0) \
  197.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_somUninit(arg0)
  198.  
  199. /* Overridden method: Release */
  200. SOM_Scope void  SOMLINK FW_OSemanticInterface__Release(FW_OSemanticInterface *somSelf, Environment *ev);
  201. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_Release)(FW_OSemanticInterface *somSelf, Environment *ev);
  202. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_Release(FW_OSemanticInterface *somSelf, Environment *ev)
  203. {
  204.   ((somTD_xih_FW_OSemanticInterface_Release)
  205.     somParentNumResolve((somClassDataStructure*)&FW_OSemanticInterfaceClassData, 1, ODRefCntObjectClassData.Release))
  206.         (somSelf,ev);
  207. #ifdef SOMCHKEXCEPT
  208.   SOMCHKEXCEPT;
  209. #endif
  210. }
  211. #define FW_OSemanticInterface_parents_Release(arg0,arg1) \
  212.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_Release(arg0,arg1)
  213.  
  214. /* Overridden method: CallEventHandler */
  215. SOM_Scope void  SOMLINK FW_OSemanticInterface__CallEventHandler(FW_OSemanticInterface *somSelf, Environment *ev,
  216.         ODPart* thePart,
  217.         ODAppleEvent* theODAppleEvent,
  218.         ODAppleEvent* reply);
  219. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_CallEventHandler)(FW_OSemanticInterface *somSelf, Environment *ev,
  220.         ODPart* thePart,
  221.         ODAppleEvent* theODAppleEvent,
  222.         ODAppleEvent* reply);
  223. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_CallEventHandler(FW_OSemanticInterface *somSelf, Environment *ev,
  224.     ODPart* thePart,
  225.     ODAppleEvent* theODAppleEvent,
  226.     ODAppleEvent* reply)
  227. {
  228.   ((somTD_xih_FW_OSemanticInterface_CallEventHandler)
  229.     somParentNumResolve((somClassDataStructure*)&FW_OSemanticInterfaceClassData, 1, ODSemanticInterfaceClassData.CallEventHandler))
  230.         (somSelf,ev,thePart,theODAppleEvent,reply);
  231. #ifdef SOMCHKEXCEPT
  232.   SOMCHKEXCEPT;
  233. #endif
  234. }
  235. #define FW_OSemanticInterface_parents_CallEventHandler(arg0,arg1,arg2,arg3,arg4) \
  236.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_CallEventHandler(arg0,arg1,arg2,arg3,arg4)
  237.  
  238. /* Overridden method: CallCoercionHandler */
  239. SOM_Scope void  SOMLINK FW_OSemanticInterface__CallCoercionHandler(FW_OSemanticInterface *somSelf, Environment *ev,
  240.         ODPart* thePart,
  241.         ODDesc* theODDesc,
  242.         ODDescType toType,
  243.         ODDesc* theResult);
  244. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_CallCoercionHandler)(FW_OSemanticInterface *somSelf, Environment *ev,
  245.         ODPart* thePart,
  246.         ODDesc* theODDesc,
  247.         ODDescType toType,
  248.         ODDesc* theResult);
  249. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_CallCoercionHandler(FW_OSemanticInterface *somSelf, Environment *ev,
  250.     ODPart* thePart,
  251.     ODDesc* theODDesc,
  252.     ODDescType toType,
  253.     ODDesc* theResult)
  254. {
  255.   ((somTD_xih_FW_OSemanticInterface_CallCoercionHandler)
  256.     somParentNumResolve((somClassDataStructure*)&FW_OSemanticInterfaceClassData, 1, ODSemanticInterfaceClassData.CallCoercionHandler))
  257.         (somSelf,ev,thePart,theODDesc,toType,theResult);
  258. #ifdef SOMCHKEXCEPT
  259.   SOMCHKEXCEPT;
  260. #endif
  261. }
  262. #define FW_OSemanticInterface_parents_CallCoercionHandler(arg0,arg1,arg2,arg3,arg4,arg5) \
  263.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_CallCoercionHandler(arg0,arg1,arg2,arg3,arg4,arg5)
  264.  
  265. /* Overridden method: CallPredispatchProc */
  266. SOM_Scope void  SOMLINK FW_OSemanticInterface__CallPredispatchProc(FW_OSemanticInterface *somSelf, Environment *ev,
  267.         ODPart* thePart,
  268.         ODAppleEvent* theODAppleEvent,
  269.         ODAppleEvent* reply);
  270. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_CallPredispatchProc)(FW_OSemanticInterface *somSelf, Environment *ev,
  271.         ODPart* thePart,
  272.         ODAppleEvent* theODAppleEvent,
  273.         ODAppleEvent* reply);
  274. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_CallPredispatchProc(FW_OSemanticInterface *somSelf, Environment *ev,
  275.     ODPart* thePart,
  276.     ODAppleEvent* theODAppleEvent,
  277.     ODAppleEvent* reply)
  278. {
  279.   ((somTD_xih_FW_OSemanticInterface_CallPredispatchProc)
  280.     somParentNumResolve((somClassDataStructure*)&FW_OSemanticInterfaceClassData, 1, ODSemanticInterfaceClassData.CallPredispatchProc))
  281.         (somSelf,ev,thePart,theODAppleEvent,reply);
  282. #ifdef SOMCHKEXCEPT
  283.   SOMCHKEXCEPT;
  284. #endif
  285. }
  286. #define FW_OSemanticInterface_parents_CallPredispatchProc(arg0,arg1,arg2,arg3,arg4) \
  287.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_CallPredispatchProc(arg0,arg1,arg2,arg3,arg4)
  288.  
  289. /* Overridden method: CallObjectAccessor */
  290. SOM_Scope void  SOMLINK FW_OSemanticInterface__CallObjectAccessor(FW_OSemanticInterface *somSelf, Environment *ev,
  291.         ODPart* thePart,
  292.         ODDescType desiredClass,
  293.         ODOSLToken* container,
  294.         ODDescType containerClass,
  295.         ODDescType form,
  296.         ODDesc* selectionData,
  297.         ODOSLToken* value);
  298. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_CallObjectAccessor)(FW_OSemanticInterface *somSelf, Environment *ev,
  299.         ODPart* thePart,
  300.         ODDescType desiredClass,
  301.         ODOSLToken* container,
  302.         ODDescType containerClass,
  303.         ODDescType form,
  304.         ODDesc* selectionData,
  305.         ODOSLToken* value);
  306. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_CallObjectAccessor(FW_OSemanticInterface *somSelf, Environment *ev,
  307.     ODPart* thePart,
  308.     ODDescType desiredClass,
  309.     ODOSLToken* container,
  310.     ODDescType containerClass,
  311.     ODDescType form,
  312.     ODDesc* selectionData,
  313.     ODOSLToken* value)
  314. {
  315.   ((somTD_xih_FW_OSemanticInterface_CallObjectAccessor)
  316.     somParentNumResolve((somClassDataStructure*)&FW_OSemanticInterfaceClassData, 1, ODSemanticInterfaceClassData.CallObjectAccessor))
  317.         (somSelf,ev,thePart,desiredClass,container,containerClass,form,selectionData,value);
  318. #ifdef SOMCHKEXCEPT
  319.   SOMCHKEXCEPT;
  320. #endif
  321. }
  322. #define FW_OSemanticInterface_parents_CallObjectAccessor(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) \
  323.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_CallObjectAccessor(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8)
  324.  
  325. /* Overridden method: CallCompareProc */
  326. SOM_Scope void  SOMLINK FW_OSemanticInterface__CallCompareProc(FW_OSemanticInterface *somSelf, Environment *ev,
  327.         ODPart* thePart,
  328.         ODDescType oper,
  329.         ODOSLToken* obj1,
  330.         ODOSLToken* obj2,
  331.         ODBoolean* result);
  332. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_CallCompareProc)(FW_OSemanticInterface *somSelf, Environment *ev,
  333.         ODPart* thePart,
  334.         ODDescType oper,
  335.         ODOSLToken* obj1,
  336.         ODOSLToken* obj2,
  337.         ODBoolean* result);
  338. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_CallCompareProc(FW_OSemanticInterface *somSelf, Environment *ev,
  339.     ODPart* thePart,
  340.     ODDescType oper,
  341.     ODOSLToken* obj1,
  342.     ODOSLToken* obj2,
  343.     ODBoolean* result)
  344. {
  345.   ((somTD_xih_FW_OSemanticInterface_CallCompareProc)
  346.     somParentNumResolve((somClassDataStructure*)&FW_OSemanticInterfaceClassData, 1, ODSemanticInterfaceClassData.CallCompareProc))
  347.         (somSelf,ev,thePart,oper,obj1,obj2,result);
  348. #ifdef SOMCHKEXCEPT
  349.   SOMCHKEXCEPT;
  350. #endif
  351. }
  352. #define FW_OSemanticInterface_parents_CallCompareProc(arg0,arg1,arg2,arg3,arg4,arg5,arg6) \
  353.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_CallCompareProc(arg0,arg1,arg2,arg3,arg4,arg5,arg6)
  354.  
  355. /* Overridden method: CallCountProc */
  356. SOM_Scope void  SOMLINK FW_OSemanticInterface__CallCountProc(FW_OSemanticInterface *somSelf, Environment *ev,
  357.         ODPart* thePart,
  358.         ODDescType desiredType,
  359.         ODDescType containerClass,
  360.         ODOSLToken* container,
  361.         ODSLong* result);
  362. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_CallCountProc)(FW_OSemanticInterface *somSelf, Environment *ev,
  363.         ODPart* thePart,
  364.         ODDescType desiredType,
  365.         ODDescType containerClass,
  366.         ODOSLToken* container,
  367.         ODSLong* result);
  368. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_CallCountProc(FW_OSemanticInterface *somSelf, Environment *ev,
  369.     ODPart* thePart,
  370.     ODDescType desiredType,
  371.     ODDescType containerClass,
  372.     ODOSLToken* container,
  373.     ODSLong* result)
  374. {
  375.   ((somTD_xih_FW_OSemanticInterface_CallCountProc)
  376.     somParentNumResolve((somClassDataStructure*)&FW_OSemanticInterfaceClassData, 1, ODSemanticInterfaceClassData.CallCountProc))
  377.         (somSelf,ev,thePart,desiredType,containerClass,container,result);
  378. #ifdef SOMCHKEXCEPT
  379.   SOMCHKEXCEPT;
  380. #endif
  381. }
  382. #define FW_OSemanticInterface_parents_CallCountProc(arg0,arg1,arg2,arg3,arg4,arg5,arg6) \
  383.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_CallCountProc(arg0,arg1,arg2,arg3,arg4,arg5,arg6)
  384.  
  385. /* Overridden method: CallDisposeTokenProc */
  386. SOM_Scope void  SOMLINK FW_OSemanticInterface__CallDisposeTokenProc(FW_OSemanticInterface *somSelf, Environment *ev,
  387.         ODPart* thePart,
  388.         ODOSLToken* unneededToken);
  389. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_CallDisposeTokenProc)(FW_OSemanticInterface *somSelf, Environment *ev,
  390.         ODPart* thePart,
  391.         ODOSLToken* unneededToken);
  392. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_CallDisposeTokenProc(FW_OSemanticInterface *somSelf, Environment *ev,
  393.     ODPart* thePart,
  394.     ODOSLToken* unneededToken)
  395. {
  396.   ((somTD_xih_FW_OSemanticInterface_CallDisposeTokenProc)
  397.     somParentNumResolve((somClassDataStructure*)&FW_OSemanticInterfaceClassData, 1, ODSemanticInterfaceClassData.CallDisposeTokenProc))
  398.         (somSelf,ev,thePart,unneededToken);
  399. #ifdef SOMCHKEXCEPT
  400.   SOMCHKEXCEPT;
  401. #endif
  402. }
  403. #define FW_OSemanticInterface_parents_CallDisposeTokenProc(arg0,arg1,arg2,arg3) \
  404.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_CallDisposeTokenProc(arg0,arg1,arg2,arg3)
  405.  
  406. /* Overridden method: CallGetErrDescProc */
  407. SOM_Scope void  SOMLINK FW_OSemanticInterface__CallGetErrDescProc(FW_OSemanticInterface *somSelf, Environment *ev,
  408.         ODPart* thePart,
  409.         ODDesc** errDesc);
  410. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_CallGetErrDescProc)(FW_OSemanticInterface *somSelf, Environment *ev,
  411.         ODPart* thePart,
  412.         ODDesc** errDesc);
  413. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_CallGetErrDescProc(FW_OSemanticInterface *somSelf, Environment *ev,
  414.     ODPart* thePart,
  415.     ODDesc** errDesc)
  416. {
  417.   ((somTD_xih_FW_OSemanticInterface_CallGetErrDescProc)
  418.     somParentNumResolve((somClassDataStructure*)&FW_OSemanticInterfaceClassData, 1, ODSemanticInterfaceClassData.CallGetErrDescProc))
  419.         (somSelf,ev,thePart,errDesc);
  420. #ifdef SOMCHKEXCEPT
  421.   SOMCHKEXCEPT;
  422. #endif
  423. }
  424. #define FW_OSemanticInterface_parents_CallGetErrDescProc(arg0,arg1,arg2,arg3) \
  425.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_CallGetErrDescProc(arg0,arg1,arg2,arg3)
  426.  
  427. /* Overridden method: CallGetMarkTokenProc */
  428. SOM_Scope void  SOMLINK FW_OSemanticInterface__CallGetMarkTokenProc(FW_OSemanticInterface *somSelf, Environment *ev,
  429.         ODPart* thePart,
  430.         ODOSLToken* dContainerToken,
  431.         ODDescType containerClass,
  432.         ODOSLToken* result);
  433. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_CallGetMarkTokenProc)(FW_OSemanticInterface *somSelf, Environment *ev,
  434.         ODPart* thePart,
  435.         ODOSLToken* dContainerToken,
  436.         ODDescType containerClass,
  437.         ODOSLToken* result);
  438. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_CallGetMarkTokenProc(FW_OSemanticInterface *somSelf, Environment *ev,
  439.     ODPart* thePart,
  440.     ODOSLToken* dContainerToken,
  441.     ODDescType containerClass,
  442.     ODOSLToken* result)
  443. {
  444.   ((somTD_xih_FW_OSemanticInterface_CallGetMarkTokenProc)
  445.     somParentNumResolve((somClassDataStructure*)&FW_OSemanticInterfaceClassData, 1, ODSemanticInterfaceClassData.CallGetMarkTokenProc))
  446.         (somSelf,ev,thePart,dContainerToken,containerClass,result);
  447. #ifdef SOMCHKEXCEPT
  448.   SOMCHKEXCEPT;
  449. #endif
  450. }
  451. #define FW_OSemanticInterface_parents_CallGetMarkTokenProc(arg0,arg1,arg2,arg3,arg4,arg5) \
  452.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_CallGetMarkTokenProc(arg0,arg1,arg2,arg3,arg4,arg5)
  453.  
  454. /* Overridden method: CallMarkProc */
  455. SOM_Scope void  SOMLINK FW_OSemanticInterface__CallMarkProc(FW_OSemanticInterface *somSelf, Environment *ev,
  456.         ODPart* thePart,
  457.         ODOSLToken* dToken,
  458.         ODOSLToken* markToken,
  459.         ODSLong index);
  460. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_CallMarkProc)(FW_OSemanticInterface *somSelf, Environment *ev,
  461.         ODPart* thePart,
  462.         ODOSLToken* dToken,
  463.         ODOSLToken* markToken,
  464.         ODSLong index);
  465. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_CallMarkProc(FW_OSemanticInterface *somSelf, Environment *ev,
  466.     ODPart* thePart,
  467.     ODOSLToken* dToken,
  468.     ODOSLToken* markToken,
  469.     ODSLong index)
  470. {
  471.   ((somTD_xih_FW_OSemanticInterface_CallMarkProc)
  472.     somParentNumResolve((somClassDataStructure*)&FW_OSemanticInterfaceClassData, 1, ODSemanticInterfaceClassData.CallMarkProc))
  473.         (somSelf,ev,thePart,dToken,markToken,index);
  474. #ifdef SOMCHKEXCEPT
  475.   SOMCHKEXCEPT;
  476. #endif
  477. }
  478. #define FW_OSemanticInterface_parents_CallMarkProc(arg0,arg1,arg2,arg3,arg4,arg5) \
  479.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_CallMarkProc(arg0,arg1,arg2,arg3,arg4,arg5)
  480.  
  481. /* Overridden method: CallAdjustMarksProc */
  482. SOM_Scope void  SOMLINK FW_OSemanticInterface__CallAdjustMarksProc(FW_OSemanticInterface *somSelf, Environment *ev,
  483.         ODPart* thePart,
  484.         ODSLong newStart,
  485.         ODSLong newStop,
  486.         ODOSLToken* markToken);
  487. SOMEXTERN typedef void   (* SOMLINK somTD_xih_FW_OSemanticInterface_CallAdjustMarksProc)(FW_OSemanticInterface *somSelf, Environment *ev,
  488.         ODPart* thePart,
  489.         ODSLong newStart,
  490.         ODSLong newStop,
  491.         ODOSLToken* markToken);
  492. inline void  SOMLINK FW_OSemanticInterface_parent_ODSemanticInterface_CallAdjustMarksProc(FW_OSemanticInterface *somSelf, Environment *ev,
  493.     ODPart* thePart,
  494.     ODSLong newStart,
  495.     ODSLong newStop,
  496.     ODOSLToken* markToken)
  497. {
  498.   ((somTD_xih_FW_OSemanticInterface_CallAdjustMarksProc)
  499.     somParentNumResolve((somClassDataStructure*)&FW_OSemanticInterfaceClassData, 1, ODSemanticInterfaceClassData.CallAdjustMarksProc))
  500.         (somSelf,ev,thePart,newStart,newStop,markToken);
  501. #ifdef SOMCHKEXCEPT
  502.   SOMCHKEXCEPT;
  503. #endif
  504. }
  505. #define FW_OSemanticInterface_parents_CallAdjustMarksProc(arg0,arg1,arg2,arg3,arg4,arg5) \
  506.   (void) FW_OSemanticInterface_parent_ODSemanticInterface_CallAdjustMarksProc(arg0,arg1,arg2,arg3,arg4,arg5)
  507.  
  508. /*
  509.  * -- Primary Implementation File Support
  510.  */
  511. #if (defined(FW_OSemanticInterface_Class_Source) || defined(SOM_Module_slsemint_Source))
  512.  
  513. /*
  514.  * -- The FW_OSemanticInterface ClassData Structure
  515.  */
  516.  
  517. #if PRAGMA_IMPORT_SUPPORTED
  518. #pragma export list FW_OSemanticInterfaceClassData
  519. #endif
  520.  
  521.  
  522. /*
  523.  * -- The FW_OSemanticInterface Class Ancestor Table
  524.  */
  525. static somClassDataStructure * SOMDLINK FW_OSemanticInterfaceClassAncestors [] = {
  526.     (somClassDataStructure*) & ODSemanticInterfaceClassData,    /* parent */
  527.     (somClassDataStructure*) & SOMObjectClassData,    /* ancestor */
  528.     (somClassDataStructure*) & ODRefCntObjectClassData,    /* ancestor */
  529. };
  530.  
  531.  
  532. /*
  533.  * -- The FW_OSemanticInterface Override ProcPtr Implementations Table
  534.  */
  535. static somMethodPtr FW_OSemanticInterfaceOverrideProcs [] = {
  536.     (somMethodPtr) FW_OSemanticInterface__CallEventHandler,    /* override class ODSemanticInterface */
  537.     (somMethodPtr) FW_OSemanticInterface__CallCoercionHandler,    /* override class ODSemanticInterface */
  538.     (somMethodPtr) FW_OSemanticInterface__CallPredispatchProc,    /* override class ODSemanticInterface */
  539.     (somMethodPtr) FW_OSemanticInterface__CallObjectAccessor,    /* override class ODSemanticInterface */
  540.     (somMethodPtr) FW_OSemanticInterface__CallCompareProc,    /* override class ODSemanticInterface */
  541.     (somMethodPtr) FW_OSemanticInterface__CallCountProc,    /* override class ODSemanticInterface */
  542.     (somMethodPtr) FW_OSemanticInterface__CallDisposeTokenProc,    /* override class ODSemanticInterface */
  543.     (somMethodPtr) FW_OSemanticInterface__CallGetErrDescProc,    /* override class ODSemanticInterface */
  544.     (somMethodPtr) FW_OSemanticInterface__CallGetMarkTokenProc,    /* override class ODSemanticInterface */
  545.     (somMethodPtr) FW_OSemanticInterface__CallMarkProc,    /* override class ODSemanticInterface */
  546.     (somMethodPtr) FW_OSemanticInterface__CallAdjustMarksProc,    /* override class ODSemanticInterface */
  547.     (somMethodPtr) FW_OSemanticInterface__somUninit,    /* override class SOMObject */
  548.     (somMethodPtr) FW_OSemanticInterface__Release,    /* override class ODRefCntObject */
  549. };
  550.  
  551.  
  552. static void FW_OSemanticInterfaceDLLD ( void ) { }
  553.  
  554.  
  555. /*
  556.  * -- The FW_OSemanticInterface Static Class Info Master Table
  557.  */
  558. static somStaticClassInfo FW_OSemanticInterfaceSCI = {
  559.       70,    /* layout version */
  560.     (somClassDataStructure*)  & FW_OSemanticInterfaceClassData,    /* main token table */
  561.       FW_OSemanticInterfaceOverrideProcs,    /* override proc implemenations table */
  562.       FW_OSemanticInterfaceClassAncestors,    /* ancestor table */
  563.       FW_OSemanticInterfaceDLLD,    /* DLLdesignator */
  564.       0,    /* no special procs */
  565.       0,    /* rtci slot */
  566.       0,    /* count slot */
  567.       0,    /* dynamic ancestry */
  568.       0,    /* free */
  569.       0,    /* free */
  570.       0,    /* free */
  571.       0,    /* free */
  572.  
  573. /*
  574.  * -- The FW_OSemanticInterface Counts Table
  575.  */
  576.     (somStaticClassCounts *)
  577.         "\x00\x00\x00\x01"    /* majorversion */
  578.         "\x00\x00\x00\x00"    /* minorversion */
  579.         "\x00\x00\x00\x01"    /* flags */
  580.             "\x00\x02"    /* type code alignment */
  581.             "\x00\x01"    /* classTokenCount */
  582.             "\x00\x01"    /* numDirectParents */
  583.             "\x00\x00"    /* numMetaClasses */
  584.             "\x00\x03"    /* numOverriddenAncestors */
  585.             "\x00\x00"    /* numMigratedMethods */
  586.             "\x00\x00"    /* numSelectedInherited */
  587.             "\x00\x00"    /* numUnused */
  588.             "\x00\x00"    /* free */
  589.             "\x00\x00"    /* free */
  590.             "\x00\x00"    /* free */
  591.             "\x00"    /* free */
  592.                 ,
  593.  
  594.     {
  595.       "FW_OSemanticInterface",    /* the class name */
  596.       sizeof (FW_OSemanticInterfaceData), /* class instance data size */
  597.  
  598. /*
  599.  * -- The FW_OSemanticInterface Parent Versions Table
  600.  */
  601.     (somParentVersions *)
  602.         "\x00\x00\x00\x01"    /* majorversion */
  603.         "\x00\x00\x00\x00"    /* minorversion */
  604.                 ,
  605.  
  606.  
  607. /*
  608.  * -- The FW_OSemanticInterface Token Slot Usage Table
  609.  */
  610.     (somSlotUsage *)
  611.         "",
  612.  
  613.  
  614. /*
  615.  * -- The FW_OSemanticInterface Method Signature Info
  616.  */
  617.     (somSignatureInfo *)
  618.         "\x06\x07"    /* InitODFSemanticInterface */
  619.              ,
  620.  
  621.  
  622. /*
  623.  * -- The FW_OSemanticInterface Class Method Names
  624.  */
  625.         "InitODFSemanticInterface\0"
  626.             ,
  627.  
  628.  
  629. /*
  630.  * -- The FW_OSemanticInterface Override Slots Table
  631.  */
  632.     (somOverrideData *)
  633.         "\x00\x00\x00\x0b"    /* parent ODSemanticInterface has 11 overrides */
  634.             "\x00\x01"    /* CallEventHandler */
  635.             "\x00\x02"    /* CallCoercionHandler */
  636.             "\x00\x0d"    /* CallPredispatchProc */
  637.             "\x00\x03"    /* CallObjectAccessor */
  638.             "\x00\x04"    /* CallCompareProc */
  639.             "\x00\x05"    /* CallCountProc */
  640.             "\x00\x06"    /* CallDisposeTokenProc */
  641.             "\x00\x07"    /* CallGetErrDescProc */
  642.             "\x00\x08"    /* CallGetMarkTokenProc */
  643.             "\x00\x09"    /* CallMarkProc */
  644.             "\x00\x0a"    /* CallAdjustMarksProc */
  645.         "\x00\x01\x00\x01"    /* parent SOMObject has 1 overrides */
  646.             "\x00\x01"    /* somUninit */
  647.         "\x00\x02\x00\x01"    /* parent ODRefCntObject has 1 overrides */
  648.             "\x00\x02"    /* Release */
  649.                 ,
  650.  
  651.       0,    /* no migrated methods table */
  652.       0,    /* no selected inherited */
  653.       0,    /* unused */
  654.  
  655.       0,    /* free */
  656.       0,    /* free */
  657.       0,    /* free */
  658.       0,    /* free */
  659.     },
  660. };
  661.  
  662. /*
  663.  * -- The FW_OSemanticInterface ClassData Structure
  664.  */
  665. struct FW_OSemanticInterfaceClassDataStructure SOMDLINK FW_OSemanticInterfaceClassData = {
  666.       0,            /* zero */
  667.     & FW_OSemanticInterfaceSCI,        /* SCI link */
  668.       0,            /* instanceDataToken */
  669.       0,            /* reserved */
  670.       0,            /* reserved */
  671.       0,            /* reserved */
  672.     (somMToken) FW_OSemanticInterface__InitODFSemanticInterface,    /* InitODFSemanticInterface:method */
  673. };
  674.  
  675.  
  676. /*
  677.  * Functions for attributes.
  678.  */
  679.  
  680. /*
  681.  * Macros for initializers/destructors
  682.  */
  683.  
  684. #endif /* Primary Implementation Support */
  685.  
  686. #endif       /* SOM_FW_OSemanticInterface_xih */
  687.